<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title> 
    <script type="text/javascript" src="../js/vue.js"></script>
</head>
<body>
    <!-- 容器 -->
    <div id="root">
        <h1>{{name}}</h1>
        <h1>{{1+1}}</h1>
        <h1>{{_uid}}</h1>
    </div>
    <script type="text/javascript">
        Vue.config.productionTip = false;
        // 创建Vue实例
       const vm = new  Vue({
            el: '#root',
            data (){
                return {
                    name: '张三'
                }
            }
        })
        console.log(vm)

    </script>
</body>
</html>